package com.markerhub.common.dto;


import lombok.Data;

import javax.validation.constraints.NotBlank;

@Data
public class RegisterDto {

    @NotBlank(message = "用户名不能为空")
    private String username;


    @NotBlank(message = "手机号不能为空")
    private String tel;


    @NotBlank(message = "身份证不能为空")
    private String idcard;


    @NotBlank(message = "单位不能为空")
    private String locations;


    @NotBlank(message = "地址不能为空")
    private String areas;

}
